//
//  BaseModel.m
//  newsApp
//
//  Created by zhupeng on 16/4/17.
//  Copyright © 2016年 朱鹏. All rights reserved.
//

#import "BaseModel.h"

@implementation BaseModel
-(void)setValue:(id)value forKey:(NSString *)key{
    
    
    if ([key isEqualToString:@"itemTitle"]) {
        
        self.itemTitle = value;
        
    }else if ([key isEqualToString:@"operate_time"]){
        
        self.opeerate_time =value;
        
    }else if ([key isEqualToString:@"detailUrl"]){
        
        self.detaiUrl =value;
        
    }
    
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
   
    
}
@end
